package com.punch.common.vo.system.area;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: one-punch-cloud
 * @description: app端地区
 * @author: wujj
 * @since: 2020/12/05 14:08
 */
@Data
public class AppAreaVO implements Serializable {

    @ApiModelProperty(name = "id", notes = "地区id")
    private Integer areaId;

    @ApiModelProperty(name = "shortName", notes = "地区名称")
    private String shortName;


    @ApiModelProperty(name = "pinyin", notes = "拼音")
    private String pinyin;


    @ApiModelProperty(name = "childNumber", notes = "子级个数，0为没有子节点")
    private Integer childNumber;

    /**
     * 经度
     */
    @ApiModelProperty(name = "lng", notes = "经度", required = true)
    private String lng;

    /**
     * 纬度
     */
    @ApiModelProperty(name = "lat", notes = "纬度", required = true)
    private String lat;
}
